home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / debhelper / autoscripts / preinst-pycentral < prev    next >
Encoding:
Text File  |  2008-05-28  |  355 b   |  15 lines

  1. if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then
  2.     pycentral pkgprepare #PACKAGE# <<PYEOF
  3. [python-package]
  4. format = #FORMAT#
  5. python-version = #PYVERSIONS#
  6. [pycentral]
  7. version = #PYCENTRAL_VERSION#
  8. [files]
  9. #PYFILES#
  10. PYEOF
  11. else
  12.     mkdir -p /var/lib/pycentral
  13.     echo #PACKAGE# >> /var/lib/pycentral/delayed-pkgs
  14. fi
  15.